@charset "utf-8";
@import 'gloab';
@import 'parms';
@import "mediu";

html,body{
  width: 100%;
  height: 100%;
}
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container_ {
  margin: 16px auto 10px;
}
//-----white board
.board{
  background-color: #cccccc;
  position: relative;
}
.codePage{
  padding: 3px 10px;
  color: #fff;
  font-size: 14px;
  position: absolute;
  right: 0;
  bottom:0;
  background: rgba(60, 56, 56, 0.72);
}
//------------video
.video{
  height: 100%;
  .v_box{
    border: 1px solid #ccc;
  }
  .teacher{
    border-top-color: transparent ;
  }
  .status{
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 22% 0 0 0;
    .role_img{
      width: 100px;
      height: 100px;
      margin: auto;
      display: inline-block;
      overflow: hidden;
      border-radius: 50%;
      img{
        width: 100%;
        height: 100%;
      }
    }
    span{
      display: block;
      text-align: center;
      font-size: 14px;
      color: #000000;
      margin: 8px 0;
      &:last-child{
        font-size: 12px;
        color: #cccccc;
      }
      &.online{
        color: #1cf835;
      }
    }
  }
}

// -------tool
.setting{
background-color: rgba(214, 214, 214, 0.2);
}
.tool{
  padding: 2px 4px;
  height: 100%;
  li{
    cursor: pointer;
    margin-right: 18px;
    position: relative;
    span:first-child{
      height: 26px;
      width: 26px;
      margin: 4px auto;
    }
    &:last-child{
      float: right;

    }
    &:nth-last-child(2){
      float: right;
      margin-right: 0;
    }
    .more_handle{
      visibility: hidden;
      z-index: 100;
      height: 0;
      position: absolute;
      top: 0;
      left: -10px;
      &:after{
        display: block;
        content: '';
        width: 0;
        height: 0;
        border: 8px solid;
        border-color: #fff transparent transparent transparent;
        position: absolute;
        top: 0;
        left: 10px;
        z-index: 100;
      }
      .handle{
        width: 136px;
        text-align: left;
        background-color: #fff;
        font-size: 14px;
        color: #c3c3c3;
        position: absolute;
        bottom: 0;
        left: 0;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-box-shadow: 2px 1px 2px rgba(183, 183, 183, 0.74);
        box-shadow: 2px 1px 2px rgba(183, 183, 183, 0.74);
        h6{
          padding: 8px 10px ;
          border-bottom: 1px solid #ccc;
        }
        .handleCont{
          margin-top: 8px;
          margin-bottom: 8px;
          padding-left: 10px;
          p{
            cursor: pointer;
            display: block;
            padding: 2px 0;
          }
        }
      }
    }
    &:hover .more_handle{
      visibility: visible;
    }
    &:hover span{
        color: #21f82d !important;
    }
  }
}
.video_set{
  padding-left: 20px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

//---chat
.chat{
  border: 1px solid #ccc;
  border-left: none;
}


.chat-box {
  position: relative;
  height: 82%;
}

.sendMsg{
  width: 100%;
  padding: 8px;
  height: 18%;
  border-top: 1px solid #ccc;
  .enterMsg{
    overflow-y: auto;
    outline: none;
    height: 80%;
    width: 100%;
    border: none;
    resize: none;
    border-radius: 3px;
    background-color: rgba(177, 172, 172, 0.15);
  }
  .sendBtn{
    width: 56px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 3px;
    background-color: #31d2fe;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    float: right;
    margin-top: 6px;
    margin-right: 10px;
  }
}

.chat-box .title .img{
  cursor: pointer;
  border-radius: 50%;
}
.chat-box .title span {
  display: block;
  width: 50%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  -moz-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
}
.chat-box .error {
  cursor: pointer;
}
.u-chat-notice{
  z-index: 5;
  background-color: #fbfcbe;
  width: 710px;
  height: 14px;
  position: absolute;
  top: 80px;
  opacity: 0.8;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}
.chat-mask{
  z-index: 5;
  background-color: #e5f4ff;
  width: 710px;
  height: 14px;
  position: absolute;
  bottom: 9px;
  opacity: 0.8;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}
.chat-content {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 100%;
  overflow-y: auto;
  padding: 0 3%;
}
.chat-content .item{
  overflow: hidden;
  padding: 4px 0px 10px 0px;
}
.chat-content .img{
  cursor: pointer;
  border-radius: 50%;
}
.no-msg span {
  padding: 3px 15px;
  background-color: #e5f4ff;
  color:#6b8299;
}

.item-you img {
  float: left;
  margin-right: 14px;
}
.item-me img {
  float: right;
  margin-left: 14px;
}
.item-you .img,.item-me .img{
  width: 40px;
  height: 40px;
}
.msg {
  position: relative;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid;
}
.item-you .nick {
  color: #3a4a59;
  font-size: 12px;
  padding-top: 5px;
}
.item-you .msg-text {
  float: left;
  color: #6b8299;
  background: #eaeeef;
  border-color: #eee;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1px 1px rgba(0, 0, 0, 0.06);
  -moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1px 1px rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1px 1px rgba(0, 0, 0, 0.06);
}
.item-me .msg-text {
  float: right;
  color: #fff;
  background: #5cacde;
}
.item-me .download-file {
  display: block;
  color: #fff;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-you .download-file {
  display: block;
  color:#666;
}
.msg:before, .msg:after {
  content:' ';
  position: absolute;
  top: 11px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  width: 0;
  height: 0;
}
.item-you .msg:before {
  right: 100%;
  border-right: 5px solid #eaeeef;
}
.item-you .msg:after {
  background: none;
}
.item-me .msg:before {
  background: none;
}
.item-me .msg:after {
  left: 100%;
  border-left: 5px solid #5cacde;
}
.item-me .msg .box:before {
  background-position: -25px -40px;
}
.msg .box {
  position: relative;
  padding: 7px 12px;
  zoom: 1;
}
.pdfBox{
  width: 100%;
  padding: 6px;
  height: 90%;
}
.pdfPage{
  width: 100%;
  height: 10%;
  text-align: center;
  color: #fff;
}
.msg .box:before {
  background-position: 0 -40px;
}
.msg .box:after {
  background-position: 0 -60px;
}
.msg .cnt {
  position: relative;
  min-height: 20px;
  line-height: 20px;
  overflow: hidden;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
  font-size: 14px;
}
.msg .cnt img {
  width: 100%;
  max-width: 290px;
  _width:290px;
}
.msg .cnt audio{
  width: 300px;
  height: 35px;
}
.msg .cnt video{
  width: 300px;
}
.msg .cnt .chartlet{
  width: 120px;
  margin: 0;
}

.chat-box .title {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  background-color: #fff;
}
.chat-editor {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 60px;
  width: 100%;
  padding: 0 15px;
  background-color: #e5f4ff;
  border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
}


.chat-box .msg{
  max-width: calc(100% - 54px);
}
.u-msgTime {
  text-align: center;
  font-size: 12px;
  color: #aaaaaa;
  line-height: 30px;
}

// ----展示教材
 .bottom-panel {
  position: relative;
  z-index: 9;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-user-select: none;
}
 .bottom-panel .material-list {
  overflow: hidden;
  *zoom: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
 .bottom-panel .material-list .pre,  .bottom-panel .material-list .next {
  position: relative;
  width: calc(5% - 8px);
  height: calc(100% - 8px);
  margin: 4px;
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease;
}
 .bottom-panel .material-list .pre:hover,  .bottom-panel .material-list .next:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
 .bottom-panel .material-list .pre i,  .bottom-panel .material-list .next i {
  margin: 0;
  font-size: 2em;
  line-height: 100%;
}
 .bottom-panel .material-list .wraper {
  width: 90%;
   height: 100%;
   padding-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
}
 .bottom-panel .material-list .wraper .box {
  position: relative;
   height: 100%;
  left: 0;
  width: calc(25% - 1px);
  margin-right: 1px;
  display: inline-block;
  cursor: pointer;
}
.bottom-panel .material-list .wraper .box img{
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
 .bottom-panel .material-list .wraper .box:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
 .bottom-panel .material-list .wraper .box:hover:after {
  background-color: transparent;
}
.bottom-panel .material-list .wraper .box:hover img{
  transform: scale(1.06);
  z-index: 100;
}

 .bottom-panel .material-list .wraper .box aside,  .bottom-panel .material-list .wraper .box span {
  position: absolute;
  z-index: 1;
  left: -100%;
  top: 10%;
  width: 50%;
  height: 30px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 30px;
  font-size: 14px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
}
 .bottom-panel .material-list .wraper .box span {
  left: auto;
  top: auto;
  right: 0;
  bottom: 10%;
  width: 50px;
}

.my_icon{
  background: url("../images/sprite2.png") no-repeat;
}
.my_icon.pen{
  background-position: 0 0;
}
.my_icon.square{
  background-position:  0 -300px;
}
.my_icon.line{
  background-position:  0 -90px;
}
.my_icon.eraser{
  background-position:  0 -180px;
}
.my_icon.material{
  background-position:  0 -150px;
}
.my_icon.help{
  background-position:  0 -60px;
}
.my_icon.report{
  background-position:  0 -210px;
}
.my_icon.time{
   background-position:  0 -330px;
 }
.my_icon.dismiss{
  background-position:  0 -270px;
}
.my_icon.setting{
  background-position:  0 -240px;
}
.my_icon.mute{
  background-position:  0 -120px;
}
.my_icon.camera{
  background-position:  0 -30px;
}
.direction{
  background: url("../images/direction.png") no-repeat;
  width: 32px;
  height: 32px;
  display: inline-block;
}
.direction.iconLeft{
  background-position: 0 -36px;
}
.direction.iconRight{
  background-position: 0 -108px;
}
.pre:hover .iconLeft{
  background-position: 0 0;
}
.next:hover .iconRight{
  background-position: 0 -72px;
}